package com.lutzyt.delivery.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 *
 * @author zyt
 */
@Data
@TableName("role_permission")
public class RolePermission {
  /**
   * 角色id
   */
  @TableField("role_id")
  private Integer roleId;
  /**
   * 权限id
   */
  @TableField("permission_id")
  private Integer permissionId;
  /**
   * 权限id集合
   */
  @TableField(exist = false)
  private List<Integer> permissionIds;
}